package com.sp.system.user.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "sp_menu")//指定表名
public class Menu extends SuperEntity{

    private String name;
    private String menuUrl;
    private String parentId;
    private String method;

    @TableField(exist = false)
    private List<Menu> children;

    public Menu(){}

}
